/*
 * @Author: your name
 * @Date: 2021-01-28 09:17:23
 * @LastEditTime: 2021-04-19 08:27:44
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \tower_defense\assets\scripts\game_data\level_data\level_data_1.ts
 */

import { EnemyType } from "../enemy_data/enemy_data"

export const LEVELDATA1 = [
    // round 1
    {
        description: '3个哥布林',
        delay: 0, // 每波怪物的时间间隔
        num: 3,   // 这一波，我们释放多少个怪物
        type: [EnemyType.Small1, EnemyType.Small1, EnemyType.Small1], // 当前这个怪物的类型
        gen_time_set: [0, 0.5, 0.5],
        random_road: true, // 随机的选择怪物放出的路径
        road_set: [0, 1, 2], // 规定要走的路径
    },
    // {
    //     description: '3个哥布林',
    //     delay: 0, // 每波怪物的时间间隔
    //     num: 1,   // 这一波，我们释放多少个怪物
    //     type: [EnemyType.Small1], // 当前这个怪物的类型
    //     gen_time_set: [0],
    //     random_road: false, // 随机的选择怪物放出的路径
    //     road_set: [2], // 规定要走的路径
    // },

    // 2
    {
        description: "6个哥布林",
        delay: 5, // 第一波放出后，间隔多少时间再，放出第二波怪物,
        num: 6,
        type: [EnemyType.Small1, EnemyType.Small1, EnemyType.Small1,
        EnemyType.Small1, EnemyType.Small1, EnemyType.Small1],
        gen_time_set: [0, 0.6, 0.6, 3.6, 0.6, 0.6],
        random_road: true, // 随机的选择怪物放出的路径
        road_set: [0, 1, 2],
    },

    // 3
    {
        description: "9个哥布林",
        delay: 5, // 第一波放出后，间隔多少时间再，放出第二波怪物,
        num: 9,
        type: [EnemyType.Small1, EnemyType.Small1, EnemyType.Small1,
        EnemyType.Small1, EnemyType.Small1, EnemyType.Small1,
        EnemyType.Small1, EnemyType.Small1, EnemyType.Small1],
        gen_time_set: [0, 0.5, 0.5, 3.0, 0.5, 0.5, 3, 0.5, 0.5],
        random_road: true, // 随机的选择怪物放出的路径
        road_set: [0, 1, 2],
    },

    // 4 
    {
        description: "4个哥布林和1个兽人",
        delay: 5, // 第一波放出后，间隔多少时间再，放出第二波怪物,
        num: 5,
        type: [EnemyType.Small1, EnemyType.Small1, EnemyType.Small1, EnemyType.Small1,
        EnemyType.Small1],
        gen_time_set: [0, 0.5, 0.5, 0.5, 3.5],
        random_road: true, // 随机的选择怪物放出的路径
        road_set: [0, 1, 2],
    },

    // 5
    {
        description: "3个兽人",
        delay: 5, // 每波怪物的时间间隔
        num: 3, // 这一波，我们释放多少个怪物
        type: [EnemyType.Small1, EnemyType.Small1, EnemyType.Small1], // 当前这个怪物的类型
        gen_time_set: [0, 0.5, 0.5],
        random_road: true, // 随机的选择怪物放出的路径
        road_set: [0, 1, 2], // 规定要走的路劲
    },

    // 6
    {
        description: "10个哥布林和4个兽人",
        delay: 5, // 第一波放出后，间隔多少时间再，放出第二波怪物,
        num: 14,
        type: [EnemyType.Small1, EnemyType.Small1, EnemyType.Small1, EnemyType.Small1, EnemyType.Small1,
        EnemyType.Small1, EnemyType.Small1,
        EnemyType.Small1, EnemyType.Small1, EnemyType.Small1, EnemyType.Small1, EnemyType.Small1,
        EnemyType.Small1, EnemyType.Small1],
        gen_time_set: [0, 0.5, 0.5, 0.5, 0.5,
            3.5, 0.5,
            3.5, 0.5, 0.5, 0.5, 0.5,
            3.5, 0.5,
        ],
        random_road: true, // 随机的选择怪物放出的路径
        road_set: [0, 1, 2],
    },

    // 7
    {
        description: "最后一波怪物",
        delay: 5, // 放出第二波怪物
        num: 16,
        type: [EnemyType.Small1, EnemyType.Small1, EnemyType.Small1, EnemyType.Small1,
        EnemyType.Small1, EnemyType.Small1, EnemyType.Small1, EnemyType.Small1,
        EnemyType.Small1, EnemyType.Small1, EnemyType.Small1, EnemyType.Small1,
        EnemyType.Small1, EnemyType.Small1, EnemyType.Small1, EnemyType.Small1],
        gen_time_set: [0, 0.5, 0.5, 0.5,
            0.5, 0.5, 0.5, 0.5,
            0.5, 0.5, 0.5, 0.5,
            0.5, 0.5, 0.5, 0.5,
        ],
        random_road: true, // 随机的选择怪物放出的路径
        road_set: [0, 1, 2],
    }
]